import Vue from 'vue'
import Router from 'vue-router'
import MainFrm from '@/components/MainFrm'
import Welcome from '@/components/module/Welcome'
import Goods from '@/components/module/Goods'
import Orders from '@/components/module/Orders'
import MySelf from '@/components/module/MySelf'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: MainFrm,
      children:[
				{path:'/welcome',component:Welcome},
      	{path:'/goods',component:Goods},
      	{
      		path:'/orders',
      		component:Orders
      	},
      	{
      		path:'/myself',
      		component:MySelf
      	}
      ]
    }
  ]
})
